package lab02.test10;

public class Test10 {
    public static void main(String[] args) {
        ChinaPeople Zhaosi = new ChinaPeople();
        Zhaosi.name = "赵四";
        Zhaosi.gender = "男";
        Zhaosi.age = 19;
        System.out.println("----------------------");
        System.out.println(Zhaosi.toString());
        Zhaosi.work();
        Zhaosi.eat();
        Zhaosi.sleep();
        Zhaosi.run();

        BeiJingPeople beiJingPeople = new BeiJingPeople();
        beiJingPeople.name = "李";
        beiJingPeople.gender = "女";
        beiJingPeople.age = 18;
        System.out.println("----------------------");
        System.out.println(beiJingPeople.toString());
        beiJingPeople.work();
        beiJingPeople.walk();
        beiJingPeople.eat();
        beiJingPeople.sleep();


        AmJericanPeople amJericanPeople = new AmJericanPeople();
        amJericanPeople.name = "鹿";
        amJericanPeople.gender = "男";
        amJericanPeople.age = 20;
        System.out.println("----------------------");
        System.out.println(amJericanPeople.toString());
        amJericanPeople.work();
        amJericanPeople.eat();
        amJericanPeople.sleep();
        amJericanPeople.exercise();
    }
}
